package cn.zwx.distributed.id.server;

import cn.zwx.starter.annotation.EnableDistributedIdServer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author zhangwenxue
 */
@SpringBootApplication(scanBasePackages = "cn.zwx")
@EnableDistributedIdServer
public class DistributedIdServerApplication {

    private static final Logger logger = LoggerFactory.getLogger(DistributedIdServerApplication.class);


    public static void main(String[] args) {
        SpringApplication.run(DistributedIdServerApplication.class, args);
        logger.info("DistributedIdServerApplication init success ！！！");
    }

}
